<?php

abstract class Produit {
    
    private $reference;
    private $prix;
    
    public function Produit ($reference, $prix){
        $this->reference = $reference;
        $this->prix = $prix;
    }
    
    public function getReference() {
        return $this->reference;
    }

    public function getPrix() {
        return $this->prix;
    }
    
    public function __toString(){
        return $this->reference." ".$this->prix ;
    }

    public abstract function getClasse();
            
}

?>
